package pojo;

import java.sql.Timestamp;

/**
 * Finishstatus entity. @author MyEclipse Persistence Tools
 */

public class Finishstatus implements java.io.Serializable {

	// Fields

	private FinishstatusId id;
	private Timestamp finishTime;
	private String costTime;
	private Float grade;
	private String parentWords;
	private String teacherWords;
	private Integer state;

	// Constructors

	/** default constructor */
	public Finishstatus() {
	}

	/** minimal constructor */
	public Finishstatus(FinishstatusId id, Integer state) {
		this.id = id;
		this.state = state;
	}

	/** full constructor */
	public Finishstatus(FinishstatusId id, Timestamp finishTime,
			String costTime, Float grade, String parentWords,
			String teacherWords, Integer state) {
		this.id = id;
		this.finishTime = finishTime;
		this.costTime = costTime;
		this.grade = grade;
		this.parentWords = parentWords;
		this.teacherWords = teacherWords;
		this.state = state;
	}

	// Property accessors

	public FinishstatusId getId() {
		return this.id;
	}

	public void setId(FinishstatusId id) {
		this.id = id;
	}

	public Timestamp getFinishTime() {
		return this.finishTime;
	}

	public void setFinishTime(Timestamp finishTime) {
		this.finishTime = finishTime;
	}

	public String getCostTime() {
		return this.costTime;
	}

	public void setCostTime(String costTime) {
		this.costTime = costTime;
	}

	public Float getGrade() {
		return this.grade;
	}

	public void setGrade(Float grade) {
		this.grade = grade;
	}

	public String getParentWords() {
		return this.parentWords;
	}

	public void setParentWords(String parentWords) {
		this.parentWords = parentWords;
	}

	public String getTeacherWords() {
		return this.teacherWords;
	}

	public void setTeacherWords(String teacherWords) {
		this.teacherWords = teacherWords;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

}